package model

import (
	common "test.com/project-common"
	"test.com/project-common/errs"
)

var (
	NoLegalMobile common.BusinessCode = 2001 //手机号不合法
	RedisError                        = errs.NewError(999, "redis错误")
	DBError                           = errs.NewError(998, "db错误")
	NoLogin                           = errs.NewError(997, "未登录")
	// NoLegalMobile      = errs.NewError(10102001, "手机号不合法")
	CaptchaNotExist    = errs.NewError(10102002, "验证码不存在或者已过期")
	CaptchaError       = errs.NewError(10102003, "验证码错误")
	EmailExist         = errs.NewError(10102004, "邮箱已经存在了")
	AccountExist       = errs.NewError(10102005, "账号已经存在了")
	MobileExist        = errs.NewError(10102006, "手机号已经存在了")
	AccountAndPwdError = errs.NewError(10102007, "账号密码不正确")
)
